/**
 * General
 **/


a {
	cursor: pointer;
	text-decoration: underline;
}

html, body, form, img {
    padding: 0;
    margin: 0;
}
body {
    padding: 0;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    background-color: #2C2C29;
	color: #fff;
    font-size: 14px;
    cursor: default;
}
img {
	border: 0;
}
th {
	text-align: center;
	font-weight: normal;
}
input, select, button, textarea {
    font-size: 15px;
    border: 1px solid #888;
    border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 5px;
}
input[type="button"], input[type="submit"], button {
    padding: 4px 10px;
    background: #2C2C29;
    color: #fff;
    font: bold 12px Helvetica, Arial, sans-serif;
}

input[type="reset"] {
    padding: 4px 10px;
    font: bold 12px Helvetica, Arial, sans-serif;
    background: #fff;
}



input[type=text], input[type=password], select, textarea {
	background: white;
}
input[type=text][readonly], input[type=password][readonly], select[readonly], textarea[readonly],
input[type=text][disabled], input[type=password][disabled], select[disabled], textarea[disabled] {
	background-color: #eee;
}


/* Colocando o icone de calendario alinhado do jeito
ideal para Validade (originalmente feito no Recebimento) */
img.ui-datepicker-trigger{
	margin-bottom: -0.6em;
	margin-left: 0.2em;
}

/**
 * jqGrid
 **/
.jqgroup td {
	/** tr_group (grouping=true) **/
	background-color: #F5DEB3;
}
.ui-jqgrid tr.jqgrow td.extra-padding-left {
	padding-left: 10px;
}
.ui-jqgrid tr.jqgrow td.extra-padding-right {
	padding-right: 10px;
}

/* Buttons inside jqGrid */
.ui-jqgrid tr.jqgrow td.buttons {
	/* jqGrid uses "white-space: pre" for its contents. This causes a bug when
	 * we have rich content (like a toolbar) inside a grid cell: there is an
	 * empty newline before the actual content. This bug shows up in Opera,
	 * and maybe other browsers as well.
	 * The following rule fixes this bug.
	 */
	white-space: normal;
}
.ui-toolbar-button {
	/* Somehow, these buttons only have the right and bottom borders, and have
	 * no top or right border. However, when passing the mouse over the
	 * buttons, they receive a border on all sides, making them jump one
	 * pixel.
	 * The following rules fix this bug, by setting a default border.
	 */
	border-width: 1px;
	border-style: solid;
	border-color: transparent gray gray transparent;
}
.ui-jqgrid .ui-pg-selbox {
	    height: 30px;
}

.ui-jqgrid .ui-pg-input {
	    height: 8px;
}

/**
 * Positioning
 **/

#wrapper {
	margin: 0 auto;
	width: 95%;
}

#showhide {
	position: fixed;
	left: 10px;
	top: 16px;
}

#top {
 	position: relative;
	height: 90px;
	color: #fff;
}

#logo {
	float: left;
}
#logo img {
	width: 100%;
	vertical-align: center;
}

#quickmenu {
	position: absolute;
	top: 15px;
	left: 125px; /* 150px - 25px (from margin-left) */
}

#quickmenu .item {
	float: left;
	margin-left: 25px;
}

#quickmenu .item h1 {
	margin: 0;
	font-size: 1.4em;
	/* text-decoration: underline; */
}

#quickmenu .item ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#quickmenu .item li {
	margin: 2px 4px;
}

#quickmenu .item a {
	color: #fff;
	/* text-decoration: none; */
}

#bartop {
	margin-top: 15px;
	width: 100%;
	position: relative;
	background-color: #dedede;
	color: #333;
	height: 35px;
    border: 1px solid #aaa;
    border-radius: 6px;
    -moz-border-radius: 6px;
	z-index: 1;
}

#bartop h1 {
	position: absolute;
	left: 6px;
	bottom: 2px;
	margin: 0;
	padding: 0;
	font-variant: small-caps;
}

#bartop .right {
	position: absolute;
	bottom: 4px;
	right: 6px;
}

#bartop .right a {
    height: 23px;
    padding: 5px 15px;
    font: 700 .88em/26px Helvetica, Arial, sans-serif;
    border: 1px solid #aaa;
    border-radius: 3px;
    -moz-border-radius: 3px;
    text-decoration: none;
    color: #2C2C29;
    background: #fff;
    font-size: 11px;
}

#content {
	z-index: 0;
	position: relative;
	top: -6px;
	width: 95%;
	min-height: 400px;
	margin: 0 auto;
	padding: 20px;
	overflow: auto;
    color: #333;
    background-color: #fff;
    border-radius: 6px;
    -moz-border-radius: 6px;
}

#bottom {
	text-align: center;
	font-size: 0.8em;
}

#bottom a {
	color: #fff;
	text-decoration: none;
}

#bottom a:hover {
	text-decoration: underline;
}

.shadow {
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
	box-shadow: 3px 3px 4px #000;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}

.ui-autocomplete {
	max-height: 200px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 20px;
}

ul.menu {
	font-size: 1.3em;
}

ul.menu li {
	padding: 10px 5px;
	line-height: 130%;
}

ul.menu a {
	color: #000;
}

